import {http} from "@/utils/http";

export const pageSensor = (data) => {
  return http({
    url: `/page/sensor.json?pageSize=10000&paged=1`,
    method: 'POST',
    data:data
  })
}
export const controlSensor = (data) => {
  return http({
    url: `/sensor/control/realtime/update.json`,
    method: 'PUT',
    data:data
  })
}
export const paramDown = (data) => {
  return http({
    url: `/sensor/param/down.json`,
    method: 'PUT',
    data:data
  })
}
